import type { IModalConfig } from '@/global/types'

export const modalPermissionsConfig: IModalConfig = {
  type: 'drawer',
  layout: {
    title: '权限分配',
    size: '30%',
    showClose: false, // 是否显示右上角关闭图标
    closeOnClickModal: true // 点击遮罩层是否能关闭对话框
  },
  form: {
    layout: {
      isShowBtns: false,
      labelWidth: '80px',
      size: 'default'
    },
    items: [
      {
        type: 'custom',
        slotName: 'permissions',
        span: 24
      }
    ]
  }
}

export default modalPermissionsConfig
